package com.ruoyi.yanjing.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 电杆信息对象 c5_electricity_pole
 * 
 * @author whz
 * @date 2024-11-18
 */
@ApiModel(value = "ElectricityPole", description = "电杆信息对象")
public class ElectricityPole extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 线路code */
    @Excel(name = "区域code")
    @ApiModelProperty("区域code")
    @TableField(exist = false)
    private String areaCode;

    /** 线路name */
    @Excel(name = "区域名称")
    @ApiModelProperty("区域名称")
    @TableField(exist = false)
    private String areaName;

    /** 线路id */
    @Excel(name = "线路id")
    @ApiModelProperty("线路code")
    private Long lineId;

    /** 线路code */
    @Excel(name = "线路code")
    @ApiModelProperty("线路code")
    @TableField(exist = false)
    private String lineCode;

    /** 线路name */
    @Excel(name = "线路名称")
    @ApiModelProperty("线路名称")
    @TableField(exist = false)
    private String lineName;


    /** 杆号 */
    @Excel(name = "杆号")
    @ApiModelProperty("杆号")
    private String poleCode;

    /** 杆号名称 */
    @Excel(name = "杆号名称")
    @ApiModelProperty("杆号名称")
    private String poleName;

    /** 经度 */
    @Excel(name = "经度")
    @ApiModelProperty("经度")
    private String poleLongitude;

    /** 纬度 */
    @Excel(name = "纬度")
    @ApiModelProperty("纬度")
    private String poleLatitude;

    /** 电杆类型 */
    @Excel(name = "电杆类型")
    @ApiModelProperty("电杆类型")
    private String poleType;

    /** 上级杆号id */
    @Excel(name = "上级杆号id")
    @ApiModelProperty("上级杆号id")
    private Long prePoleId;

    /** 上级杆号 */
    @Excel(name = "上级杆号")
    @ApiModelProperty("上级杆号")
    @TableField(exist = false)
    private String prePoleCode;

    /** 上级杆号name */
    @Excel(name = "上级杆号名称")
    @ApiModelProperty("上级杆号名称")
    @TableField(exist = false)
    private String prePoleName;

    /** 告警信息：告警点位信息组合 */
    @Excel(name = "告警信息：告警点位信息组合")
    @ApiModelProperty("告警点位信息组合")
    private String alarmInformation;

    /** 告警状态 */
    @Excel(name = "告警状态")
    @ApiModelProperty("告警状态0异常,1正常")
    private String alarmStatus;

    /** 备用字段1 */
    @Excel(name = "备用字段1")
    private String gatewayId;

    /** 备用字段1 */
    @Excel(name = "备用字段1")
    private String standby1;

    /** 备用字段2 */
    @Excel(name = "备用字段2")
    private String standby2;

    /** 备用字段3 */
    @Excel(name = "备用字段3")
    private String standb3;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long createEmployeeId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long updateEmployeeId;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setLineId(Long lineId) 
    {
        this.lineId = lineId;
    }

    public Long getLineId() 
    {
        return lineId;
    }
    public void setPoleName(String poleName) 
    {
        this.poleName = poleName;
    }

    public String getPoleName() 
    {
        return poleName;
    }
    public void setPoleLongitude(String poleLongitude) 
    {
        this.poleLongitude = poleLongitude;
    }

    public String getPoleLongitude() 
    {
        return poleLongitude;
    }
    public void setPoleLatitude(String poleLatitude) 
    {
        this.poleLatitude = poleLatitude;
    }

    public String getPoleLatitude() 
    {
        return poleLatitude;
    }
    public void setPoleType(String poleType) 
    {
        this.poleType = poleType;
    }

    public String getPoleType() 
    {
        return poleType;
    }
    public void setPrePoleId(Long prePoleId) 
    {
        this.prePoleId = prePoleId;
    }

    public Long getPrePoleId() 
    {
        return prePoleId;
    }
    public void setAlarmInformation(String alarmInformation) 
    {
        this.alarmInformation = alarmInformation;
    }

    public String getAlarmInformation() 
    {
        return alarmInformation;
    }
    public void setAlarmStatus(String alarmStatus) 
    {
        this.alarmStatus = alarmStatus;
    }

    public String getAlarmStatus() 
    {
        return alarmStatus;
    }
    public void setStandby1(String standby1) 
    {
        this.standby1 = standby1;
    }

    public String getStandby1() 
    {
        return standby1;
    }
    public void setStandby2(String standby2) 
    {
        this.standby2 = standby2;
    }

    public String getStandby2() 
    {
        return standby2;
    }
    public void setStandb3(String standb3) 
    {
        this.standb3 = standb3;
    }

    public String getStandb3() 
    {
        return standb3;
    }
    public void setCreateEmployeeId(Long createEmployeeId) 
    {
        this.createEmployeeId = createEmployeeId;
    }

    public Long getCreateEmployeeId() 
    {
        return createEmployeeId;
    }
    public void setUpdateEmployeeId(Long updateEmployeeId) 
    {
        this.updateEmployeeId = updateEmployeeId;
    }

    public Long getUpdateEmployeeId() 
    {
        return updateEmployeeId;
    }

    public String getLineCode() {
        return lineCode;
    }

    public void setLineCode(String lineCode) {
        this.lineCode = lineCode;
    }

    public String getLineName() {
        return lineName;
    }

    public void setLineName(String lineName) {
        this.lineName = lineName;
    }

    public String getPrePoleName() {
        return prePoleName;
    }

    public String getPrePoleCode() {
        return prePoleCode;
    }

    public void setPrePoleCode(String prePoleCode) {
        this.prePoleCode = prePoleCode;
    }

    public void setPrePoleName(String prePoleName) {
        this.prePoleName = prePoleName;
    }

    public String getPoleCode() {
        return poleCode;
    }

    public void setPoleCode(String poleCode) {
        this.poleCode = poleCode;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getGatewayId() {
        return gatewayId;
    }

    public void setGatewayId(String gatewayId) {
        this.gatewayId = gatewayId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("lineId", getLineId())
            .append("poleName", getPoleName())
            .append("poleLongitude", getPoleLongitude())
            .append("poleLatitude", getPoleLatitude())
            .append("poleType", getPoleType())
            .append("prePoleId", getPrePoleId())
            .append("alarmInformation", getAlarmInformation())
            .append("alarmStatus", getAlarmStatus())
            .append("standby1", getStandby1())
            .append("standby2", getStandby2())
            .append("standb3", getStandb3())
            .append("createTime", getCreateTime())
            .append("createEmployeeId", getCreateEmployeeId())
            .append("updateTime", getUpdateTime())
            .append("updateEmployeeId", getUpdateEmployeeId())
            .toString();
    }
}
